const Controller = require('egg').Controller

class MatchingController extends Controller {
    async getMatching() {
        await this.service.house.matching.getMatching()
        const matching = await this.service.house.matching.getMatching()
        const res = {
            status: 0,
            matching,
        }
        this.ctx.body = res
    }
}

module.exports = MatchingController
